<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
    $signPackage = session('signPackage');
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>操作失败</title>
	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="__PUBLIC__/User/css/weui.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/User/css/example.css"/>
    <script src="__PUBLIC__/User/js/jquery.js"></script>
    <script src="__PUBLIC__/User/js/jweixin-1.1.0.js"></script>
    <style type="text/css">
        .weui-btn-area a{
            width:80%;
        }
    </style>
    <script>

    </script>
</head>
<body>
	<div class="weui-msg">
    <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title">操作提示</h2>
        <a id="href" href="<?php echo($jumpUrl); ?>"></a>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area">
            <a href="javascript:;" class="weui-btn weui-btn_default"><?php echo($error); ?></a>
            <a href="javascript:history.go(-1);" class="weui-btn weui-btn_default">点击返回</a>
            <a href="javascript:;" style="display:none" id="wait" class="weui-btn weui-btn_default"><?php echo($waitSecond); ?></a>
        </p>
    </div>
    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            <p class="weui-footer__links">
                <a href="javascript:void(0);" class="weui-footer__link">中国航天-神舟软件</a>
            </p>
            <p class="weui-footer__text">Copyright &copy; 2003-2017 </p>
        </div>
    </div>
</div>
<script type="text/javascript">
$(function(){

    var wait = document.getElementById('wait'),href = document.getElementById('href').href;
    var interval = setInterval(function(){
        var time = --wait.innerHTML;
        if(time <= 0) {
            location.href = href;
            clearInterval(interval);
        };
    }, 1000);
})();
</script>
</body>
</html>